<?
	$this->aDatos[$cTemplateId][aModosDefault] = 1;
	$ncTema = getParam('ncTema');
	$cSql = "SELECT * FROM btLibro as Lib ";
	if ( $ncTema ) $cSql .= " JOIN btLibroTema as LTe ON Lib.ncLibro = LTe.ncLibro AND LTe.ncTema IN ($ncTema) ";
		
	$cSql .=  " ORDER BY Lib.ncLibro ";
	
	if ( $ncTema ) 
	{
		$cTitulo = $this->oDatabase->getData("SELECT cdTema FROM bcTema WHERE ncTema = $ncTema");
	}
	$aLibros = $this->oDatabase->getMatrix( $cSql , 0, 10);
	
?>